﻿using Microsoft.AspNetCore.Mvc;
using My.Admin.Dto.System;
using My.Admin.Model;
using My.Admin.Model.System;
using My.Core.DynamicProxy;
using My.Core.Service.IService;
using My.Core.SqlSugar.model;

namespace My.Admin.Service.System.IService
{
	public interface ISysDictTypeService : IBaseService<SysDictType>, ITransientAutoInject
	{
		public Task<PagedInfo<SysDictType>> Page(PageDictTypeInput input);
		public Task<List<SysDictType>> GetList();
		public Task<List<SysDictData>> GetDataList([FromQuery] GetDataDictTypeInput input);
		public Task AddDictType(AddDictTypeInput input);
		public Task UpdateDictType(UpdateDictTypeInput input);
		public Task DeleteDictType(DeleteDictTypeInput input);
		public Task<SysDictType> GetDetail([FromQuery] DictTypeInput input);
		public Task SetStatus(DictTypeInput input);
		public Task<List<SysDictType>> GetAllDictList();
	}
}
